package com.wry.sharding.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 *<h1>  <h1>
 *
 * @author wry
 * @since 2025/1/3 10:06
 */
@Data
@TableName("shoping")
public class Shoping implements Serializable {
    /**
     * 商品id
     */
    @TableId(value = "shoping_id", type = IdType.ASSIGN_ID)
    private Long shopingId;

    /**
     * 商品名称
     */
    @TableField(value = "shoping_name")
    private String shopingName;

    /**
     * 商品价格
     */
    @TableField(value = "shoping_price")
    private Integer shopingPrice;

    private static final long serialVersionUID = 1L;
}